package com.tutu.commons.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Program: b2c-cloud-store
 * @Description: 生成订单时传递的实体类
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-12-27 20:50
 **/
@Data
public class OrdersVo {


    @NotNull(message = "用户id不可为空")
    private Integer userId;  //用户id

    private List<CartVo> products;  //购物车Vo
}
